hip.hiprenderer.shader.var_packing

Undocumented in source.

Members

Functions

dxHLSL4
VarPosition dxHLSL4(ShaderVar* v, size_t lastAlignment, bool isLast)

Uses the OpenGL's GLSL Std 140 for getting the variable position. This function must return what is the end position given the last variable size.

glSTD140
VarPosition glSTD140(ShaderVar* v, size_t lastAlignment, bool isLast)

Uses the OpenGL's GLSL Std 140 for getting the variable position. This function must return what is the end position given the last variable size.

nonePack
VarPosition nonePack(ShaderVar* v, size_t lastAlignment, bool isLast)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

VarPosition
struct VarPosition
Undocumented in source.

Meta